how to cope with painful memories